package com.pinda.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "work-service", path = "/pd-task-pickup-dispatch",url = "http://localhost:2008")
public interface UpdateStatusFeign {

    /**
     * feign调用work的修改收件状态为3
     * @param id
     * @return
     */
    @PostMapping("updatareceivingByid/{id}")
    @ResponseBody
    Boolean updatareceiving(@PathVariable("id") String id);
    @GetMapping("updatareceivingByid3/{id}")
    public Boolean updatareceivingByid3(@PathVariable("id") String id);




}
